# -*- coding: utf-8 -*-
## ****************************************************************** PROTOTIPO.PY
## * Description:
## * 3DbyStep main window calls.
## * The code bellow is very simplistic. It only shows a small window.
## *******************************************************************************
## * Created in: 2007-01-07
## * Last updated in: 2008-03-13
## *******************************************************************************
## * Authoring: Elisabete Thomaselli Nogueira and Victor S. Bursztyn
## * Orientation: Claudio Esperanca
## *******************************************************************************

import sys
from PyQt4 import QtGui

from interfBehavior import myMainBehavior

class Prototype:
    def __init__(self):
        """
        Constructor
        """
        if __name__ == "__main__":
            
            ## Every PyQt4 application must create an application object.
            ## The application object is located in the QtGui module.
            ## The sys.argv parameter is a list of arguments from the command line.
            ## Python scripts can be run from the shell. It is a way, how we can control 
            ## the startup of our scripts. 
            self.app = QtGui.QApplication(sys.argv)
            self.window = myMainBehavior()
            ## The show() method displays the window on the screen. 
            self.window.show()
            self.app.exec_()

byStepApp = Prototype()


